﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="goods_add06.aspx.cs" Inherits="admin_product_goods_add06" %>



<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>万礼通后台管理系统</title>
    <link href="../main.css" rel="stylesheet" type="text/css" />
  
    <script language='javascript'>

	function clicka()
	{
	<% if (Request.QueryString["pid"] != null){}else{%>
	alert("- 商品名称不能为空。\n- 商品分类不能不选");
	return false;
	<%} %>
	}
	</script>
	<% =strAreaData %>
	<script language = "JavaScript" type="text/javascript">
	    function changearea1() {
	        var oneid = document.all("<% =lbLeft.ClientID %>").value;
	        var i;
	        for (i = 0; i < onecount; i++) {
	            if (subcat[i][1] == oneid) {
	                //document.all("").options[document.all("").length] = new Option(subcat[i][0],subcat[i][2]);
	                //document.form1.price.value=subcat[i][0];
	            }
	        }
	    }
	</script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <center>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#F1F4F7">
<tr>
<td height="382" align="center" valign="top">
  <br />
  <table width="90%" border="0" cellpadding="5" cellspacing="0">
    <!-- 商品搜索 -->
    <tr>
      <td width="84%" colspan="3" align="left"><img height="22" alt="SEARCH" src="../images/icon_search.gif" width="26" border="0" />
          <asp:DropDownList ID="typeid" runat="server">
             <asp:ListItem Text="所有品牌" Value="0"></asp:ListItem>
          </asp:DropDownList>
          <input name="keyname" id="keyname" runat="server" />
          <asp:ImageButton ID="ImageButton2" ImageUrl="../images/button04.gif" runat="server" OnClick="ImageButton2_Click" /></td>
    </tr>
    <!-- 商品列表 -->
    <tr class="text12_red">
      <td width=30%>可选商品品牌</td>
      <td>操作</td>
      <td width=50%>该商品类的品牌</td>
    </tr>
    <tr>
      <td><asp:ListBox ID="lbLeft" runat="server" SelectionMode="Multiple" Width="260px" Height="260px"></asp:ListBox>
      </td>
      <td align="left"><p>
              <input size="6" name="price" id="price" type=hidden />
              <asp:Button ID="btnToAllRight" runat="server" Text=" &gt;&gt; "  OnClick="btnToAllRight_Click" />
        </p>
          <p>
            <asp:Button ID="btnToRight" runat="server" Text="  &gt;  "  OnClick="btnToRight_Click" />
          </p>
        <p>
            <asp:Button ID="btnToLeft" runat="server" Text="  &lt;  " OnClick="btnToLeft_Click" />
          </p>
        <p>
            <asp:Button ID="btnToAllLeft" runat="server" Text=" &lt;&lt; " OnClick="btnToAllLeft_Click" />
        </p></td>
      <td><asp:ListBox ID="lbRight" runat="server" SelectionMode="Multiple" Width="260px" Height="260px"></asp:ListBox></td>
    </tr>
    
    <tr>
      <td height="40" colspan="3" align="center">
      <asp:ImageButton ID="ImageButton1" ImageUrl="../images/buttom-02.gif" runat="server" OnClick="ImageButton1_Click" />
       <a href="javascript:form1.reset();"><img src="../images/button03.gif" border="0" /></a></td>
    </tr>
  </table>
  <br /></td>
</tr>
</table>
</center>
    </div>
    </form>
</body>
</html>
